From: Suryashankar Das Date: Tue, 16 Mar 2021 12:51:05 +0000 (+0530) Subject: overview: Pass state while calling _animateVisible() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~79 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4bfb91c5cd6a705b738a00ff28ffca8063b6b4e5;p=gnome-shell.git overview: Pass state while calling _animateVisible() Pass OverviewControls.ControlsState.WINDOW_PICKER to the _animateVisible function in _hideDone(). Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3876 Part-of: --- diff --git a/js/ui/overview.js b/js/ui/overview.js index 75fe6e1a8..ca5de0c22 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -619,7 +619,7 @@ var Overview = class { this.emit('hidden'); // Handle any calls to show* while we were hiding if (this._shown) - this._animateVisible(); + this._animateVisible(OverviewControls.ControlsState.WINDOW_PICKER); else Main.layoutManager.hideOverview();